<!DOCTYPE html>
<html>
<head>
<title>签约请求记录表</title>
#parse("sys/header.html")
</head>
<body>
<div id="rrapp" v-cloak>
	<div v-show="showList">
		<div class="grid-btn">
			#if($shiro.hasPermission("signrequestinfo:save"))
            <button class="layui-btn" @click="add" type="button"><i class="layui-icon">&#xe61f;</i> 新 增</button>
			#end
			#if($shiro.hasPermission("signrequestinfo:update"))
            <button class="layui-btn layui-btn-normal" type="button" @click="update"><i class="layui-icon">&#xe642;</i>编辑</button>
			#end
			#if($shiro.hasPermission("signrequestinfo:delete"))
            <button class="layui-btn layui-btn-danger" type="button" @click="del"><i class="layui-icon">&#xe640;</i>删除</button>
			#end
		</div>
	    <table id="jqGrid"></table>
	    <div id="jqGridPager"></div>
    </div>
    
    <div v-show="!showList" class="panel panel-default">
		<div class="panel-heading">{{title}}</div>
		<form class="form-horizontal">
											<div class="form-group">
			   	<div class="col-sm-2 control-label">签约请求编号</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="signRequestInfo.orderId" placeholder="签约请求编号"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">签约人手机号</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="signRequestInfo.userPhone" placeholder="签约人手机号"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">签约人姓名</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="signRequestInfo.userName" placeholder="签约人姓名"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">身份证号</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="signRequestInfo.idCard" placeholder="身份证号"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">创建时间</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="signRequestInfo.createTime" placeholder="创建时间"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">更新时间</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="signRequestInfo.updateTime" placeholder="更新时间"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">初始合同id</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="signRequestInfo.contractId" placeholder="初始合同id"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">房源编码，或房间编码</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="signRequestInfo.houseCode" placeholder="房源编码，或房间编码"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">签约是否成功，0:失败，1：成功</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="signRequestInfo.signResult" placeholder="签约是否成功，0:失败，1：成功"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">签约关键字，eg：甲方签约、乙方签约</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="signRequestInfo.signKeyword" placeholder="签约关键字，eg：甲方签约、乙方签约"/>
			    </div>
			</div>
							<div class="form-group">
				<div class="col-sm-2 control-label"></div>
                <button class="layui-btn" type="button" @click="saveOrUpdate" >保存</button>
                <button class="layui-btn layui-btn-warm" type="button" @click="reload" style="margin-left: 30px">返回</button>
			</div>
		</form>
	</div>
</div>

<script src="${rc.contextPath}/statics/js/sys/signrequestinfo.js?_${date.systemTime}"></script>
</body>
</html>